<template>
  <sky-base-page ref="basePageRef" :api-obj="qly.api.user.hqgglbxa"
                 :params="params" type="data" refresherEnabled padding="24rpx"
                 :autoLoad="false">
    <template #default="{dataInfo}">
      <qly-rich-text v-if="dataInfo.content" :nodes="dataInfo.content"/>
    </template>
  </sky-base-page>
</template>
<script setup>
const basePageRef = ref()
const params = ref({})

const getList = async () => {
  await nextTick()
  basePageRef.value.refresh()
}


qly.page.onLoad((options) => {
  params.value = options
  getList()
})


</script>
<style scoped lang="scss">
.customer-card {
  margin: 12rpx 24rpx;
  background: #fff;
  padding: 24rpx;
  border-radius: 12rpx;

  .card-row {
    display: flex;
    align-items: flex-start;
    line-height: 48rpx;

    .label {
      color: #606266;
    }

    .jia {
      color: #07c160;
    }

    .jian {
      color: red;
    }

    .value {
      flex: 1;
    }

    .red-text {
      color: red;
    }
  }

  .row-between {
    justify-content: space-between;
  }

  .row-center {
    justify-content: center;
  }
}
</style>
